<template>
  <van-nav-bar fixed :title="$route.meta.title" left-arrow @click-left="goBack" placeholder>
  </van-nav-bar>
</template>

<script>
export default {
  data() {
    return {};
  },

  components: {},

  methods: {
    goBack(){
      this.$router.back()
    }
  }
};
</script>

<style lang="scss" scoped>
::v-deep .van-nav-bar {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  background: rgb(184, 28, 34);
  background: rgb(184, 28, 34);
  .van-icon {
    color: #fff;
    font-size: 22px;
  }
  .van-nav-bar__title {
    color: #fff;
  }
}
</style>